package com.thread.lock.money.second;

public class DrawTest2 {
    public static void main(String[] args) {
        Account2 account2 = new Account2("1234567", 1000);
        // 模拟两个线程对同一个账户取钱
        new DrawThread2("甲", account2,800).start();
        new DrawThread2("乙", account2,800).start();
    }
}
